package com.yunduan.tornado.service.impl;

import com.yunduan.tornado.entity.User;
import com.yunduan.tornado.mapper.UserMapper;
import com.yunduan.tornado.service.IUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author jinpeng
 * @since 2019-09-04
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IUserService {


    @Override
    public User selectUserByAccount(String username) {
        User user = this.baseMapper.selectUserByAccount(username);
        return user;
    }
}
